home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt((((3333TTTTkkkk)))) TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt((((3333TTTTkkkk))))
-
-
-
- NNNNAAAAMMMMEEEE
- Tk_EventInit - Use the Tk event loop without the rest of Tk
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
-
- int
- TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt(_i_n_t_e_r_p)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tcl_Interp *_i_n_t_e_r_p (in) Interpreter in which event-related Tk
- commands are to be created.
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This procedure may be invoked to use the Tk event management functions
- without the rest of Tk (e.g., in applications that do not have access to
- a display). TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt creates the aaaafffftttteeeerrrr and ffffiiiilllleeeeeeeevvvveeeennnntttt commands in
- _i_n_t_e_r_p. It also creates versions of the ttttkkkkwwwwaaaaiiiitttt and uuuuppppddddaaaatttteeee commands with
- reduced functionality: the ttttkkkkwwwwaaaaiiiitttt command supports only the vvvvaaaarrrriiiiaaaabbbblllleeee
- option, not vvvviiiissssiiiibbbbiiiilllliiiittttyyyy or wwwwiiiinnnnddddoooowwww, and uuuuppppddddaaaatttteeee does not check for X events.
- TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt always returns TTTTCCCCLLLL____OOOOKKKK to signal that it completed
- successfully.
-
- The event-management procedures in Tk are divided into two groups, those
- that can be used stand-alone and those that require the full Tk library
- to be present. The following procedures may be used stand-alone:
- TTTTkkkk____CCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeHHHHaaaannnnddddlllleeeerrrr, TTTTkkkk____CCCCrrrreeeeaaaatttteeeeFFFFiiiilllleeeeHHHHaaaannnnddddlllleeeerrrr2222, TTTTkkkk____DDDDeeeelllleeeetttteeeeFFFFiiiilllleeeeHHHHaaaannnnddddlllleeeerrrr,
- TTTTkkkk____CCCCrrrreeeeaaaatttteeeeTTTTiiiimmmmeeeerrrrHHHHaaaannnnddddlllleeeerrrr, TTTTkkkk____DDDDeeeelllleeeetttteeeeTTTTiiiimmmmeeeerrrrHHHHaaaannnnddddlllleeeerrrr, TTTTkkkk____DDDDooooWWWWhhhheeeennnnIIIIddddlllleeee,
- TTTTkkkk____CCCCaaaannnncccceeeellllIIIIddddlllleeeeCCCCaaaallllllll, TTTTkkkk____DDDDooooOOOOnnnneeeeEEEEvvvveeeennnntttt, TTTTkkkk____SSSSlllleeeeeeeepppp, and TTTTkkkk____BBBBaaaacccckkkkggggrrrroooouuuunnnnddddEEEErrrrrrrroooorrrr. Note
- that TTTTkkkk____MMMMaaaaiiiinnnnLLLLoooooooopppp cannot be used without the full Tk library, since it
- checks to see if windows are still open. If an application uses the
- event procedures stand-alone, it must include its own main loop that
- invokes TTTTkkkk____DDDDooooOOOOnnnneeeeEEEEvvvveeeennnntttt repeatedly.
-
- TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt is typically called from an application's TTTTccccllll____AAAAppppppppIIIInnnniiiitttt
- procedure; it should not be invoked in applications that use the full Tk
- library (e.g., those that have already invoked TTTTkkkk____CCCCrrrreeeeaaaatttteeeeMMMMaaaaiiiinnnnWWWWiiiinnnnddddoooowwww).
- However, it is OK for an application to start up using TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt,
- compute without X for a while, and later invoke TTTTkkkk____CCCCrrrreeeeaaaatttteeeeMMMMaaaaiiiinnnnWWWWiiiinnnnddddoooowwww.
- When TTTTkkkk____CCCCrrrreeeeaaaatttteeeeMMMMaaaaiiiinnnnWWWWiiiinnnnddddoooowwww is invoked, the full suite of windowing Tcl
- commands will become available, and the full-blown versions of ttttkkkkwwwwaaaaiiiitttt and
- uuuuppppddddaaaatttteeee will replace the abridged versions created with TTTTkkkk____EEEEvvvveeeennnnttttIIIInnnniiiitttt.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- event management, Tcl_AppInit
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-